icontheme: Recolor <polygon> elements in SVGs too
authorPhilip Chimento <philip.chimento@gmail.com>
Sat, 8 Dec 2018 01:40:32 +0000 (01:40 +0000)
committerPhilip Chimento <philip.chimento@gmail.com>
Sat, 8 Dec 2018 01:40:32 +0000 (01:40 +0000)
Otherwise, it's possible to have a symbolic icon where some of the
shapes keep the #bebebe chroma key color.

gtk/gtkicontheme.c

index 1958b7d133beb0e0e157b53b0c33cdd850e1893e..f1f9c8f074d091be65786671ad6b2262e2159f1b 100644 (file)
@@ -4156,7 +4156,7 @@ gtk_icon_info_load_symbolic_svg (GtkIconInfo    *icon_info,
                       "     width=\"", width, "\"\n"
                       "     height=\"", height, "\">\n"
                       "  <style type=\"text/css\">\n"
-                      "    rect,path,ellipse,circle {\n"
+                      "    rect,path,ellipse,circle,polygon {\n"
                       "      fill: ", css_fg," !important;\n"
                       "    }\n"
                       "    .warning {\n"